all:publish_client consume_client
publish_client: publish_client.cc	../mqthird/include/muduo/proto/codec.cc ../mqcommon/mq_proto.pb.cc ../mqcommon/mq_msg.pb.cc 
	g++ -g $^ -o $@ -std=c++11 -I../mqthird/include -L../mqthird/lib -lmuduo_net -lmuduo_base -pthread -lprotobuf -lz
consume_client: consume_client.cc	../mqthird/include/muduo/proto/codec.cc ../mqcommon/mq_proto.pb.cc ../mqcommon/mq_msg.pb.cc 
	g++ -g $^ -o $@ -std=c++11 -I../mqthird/include -L../mqthird/lib -lmuduo_net -lmuduo_base -pthread -lprotobuf -lz
.PHONY:clean clean1 clean2
clean:
	rm -rf publish_client consume_client
clean1:
	rm -rf consume_client
clean2:
	rm -rf publish_client 
